import request from '@/plugins/axios'

// 邮箱订阅
export function subscribeApi(data) {
  return request({
    url: '/subscribe',
    method: 'post',
    data
  })
}

// 签到领奖
export function signRewardApi() {
  return request({
    url: '/signReward',
    method: 'post',
  })
}

// 获取首页统计数据
export function protocolDataApi(){
    return request({
    url: '/homeInfo',
    method: 'get'
  })
}
